<template>
	<view class="home">
		<cmd-nav-bar :fixed="true" back left-text="执法记录" right-text="" title="" font-color="#464c5b" background-color="white"></cmd-nav-bar>
		<view class="mo_ban"></view>
		
		<view class="process_content">
			<view class="header_bottom">
				<view class="process_header">
					<text class="text_">申办通过犬证:</text>
					<text class="number_">皮卡丘</text>
				</view>
				<view class="process_body">
					<view class="pro_cen">
						<view class="pro_key">
							疫苗检验有效期
						</view>
						<view class="pro_name">
							2020-12-31
						</view>
					</view>
					<view class="pro_cen">
						<view class="pro_key">
							手机号码
						</view>
						<view class="pro_name">
							13355565548
						</view>
					</view>
					<view class="pro_cen">
						<view class="pro_key">
							宠物状态
						</view>
						<view class="pro_name">
							<view class='cu-tag bg-cyan ber_son'>良好</view>
						</view>
					</view>
				</view>
			</view>
		</view>
				<view class="process_content" @click="lawfn">
			<view class="header_bottom">
				<view class="process_header">
					<text class="text_">申办通过犬证:</text>
					<text class="number_">潇洒哥</text>
				</view>
				<view class="process_body">
					<view class="pro_cen">
						<view class="pro_key">
							疫苗检验有效期
						</view>
						<view class="pro_name">
							2020-10-1
						</view>
					</view>
					<view class="pro_cen">
						<view class="pro_key">
							手机号码
						</view>
						<view class="pro_name">
							13355565548
						</view>
					</view>
					<view class="pro_cen">
						<view class="pro_key">
							宠物状态
						</view>
						<view class="pro_name">
							<view class='cu-tag bg-red ber_son'>违章未处理</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		
		
		
	</view>
	</view>
</template>
<script>
	import cmdNavBar from "@/components/cmd-nav-bar/cmd-nav-bar.vue"
	export default {
		props: {},
		components: {
			cmdNavBar
		},
		data() {
			return {}
		},
		methods: {
			lawfn(){
					uni.navigateTo({
					"url": "./lawlist",
				});
			}
		},
		watch: {},

		onReachBottom() { //页面上拉触底事件的处理函数

		},
		onPullDownRefresh() { //监听用户下拉动作，一般用于下拉刷新
			//需要在 pages.json 里，找到的当前页面的pages节点，并在 style 选项中开启 enablePullDownRefresh
			//uni.startPullDownRefresh(); 开启
			// uni.stopPullDownRefresh(); 关闭
		},
		onUnload() { //监听页面卸载

		},
		onHide() { //监听页面隐藏

		},
		onLoad() { // 替代 created 监听页面加载，其参数为上个页面传递的数据，参数类型为Object（用于页面传参），参考示例

		},
		onReady() { //替代 mounted 监听页面初次渲染完成

		},

		onShow() { //监听页面显示
			//生命周期
		}
	}
</script>
<style lang="scss" scoped>
	.home {
		width: 100%;
		height: 100%;
	}

	.mo_ban {
		width: 100%;
		height: 92upx;
	}

	.ber_son {
		color: white;
		border-radius: 18upx;
		height: 20px;
	}

	.process_content {
		width: 90%;
		height: 300upx;
		margin: 30upx auto auto auto;
		background: white;
		border-radius: 15upx;

		.header_bottom {
			width: 100%;
			height: 80upx;
			border-bottom: 1px solid #F4F5F6;

			.process_header {
				display: flex;
				width: 90%;
				margin: auto;

				text {
					height: 80upx;
					line-height: 80upx;
				}

				.text_ {
					width: 40%;
					// border-left: 3px solid red;
					text-indent: 15upx;
						font-size: 16px;
					font-weight: bold;
				}

				.number_ {
					display: block;
					text-align: right;
					width: 59%;
					
				}
			}
		}

		.process_body {
			width: 100%;
			height: 300upx;
			border-bottom: 1px solid #F4F5F6;

			.pro_cen {
				display: flex;
				width: 90%;
				height: 70upx;
				margin: auto;

	

				.pro_key {
					width: 40%;height: 70upx;
					line-height: 70upx;
					color: #464c5b;
					font-size: 16px;
					font-weight: bold;
				}

				.pro_name {
					width: 60%;height: 70upx;
					line-height: 70upx;
					text-align: right;
				}
			}
		}

		.home_header {
			width: 90%;
			margin: auto;
		}
	}
</style>
